package entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Integer userID;
    private String fullName;
    private char gender;
    @JSONField(format = "yyyy-MM-dd")
    private Date birthday;

    public User() {
    }

    public User(Integer userID, String fullName, char gender, Date birthday) {
        this.userID = userID;
        this.fullName = fullName;
        this.gender = gender;
        this.birthday = birthday;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
